﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" culture="auto" meta:resourcekey="PageResource1" uiculture="auto"
 CodeFile="PlaceAdd.aspx.cs" Inherits="SystemManage_PlaceAdd" Title="添加地点" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title">
        &nbsp;<asp:Label ID="lblPageType" runat="server" Text="添加地点" meta:resourcekey="lblPageTypeResource1"></asp:Label></div>
    <table class="add_table" cellspacing="1" cellpadding="3" align="center">
      <%--  <tr>
            <td align="right">
                <label for="code">
                    <b style="color: Red">*</b></label><asp:Label ID="lblCode" runat="server" Text="编号：" meta:resourcekey="lblCodeResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtCode" runat="server" Width="172px" MaxLength="50" 
                    ValidationGroup="place" meta:resourcekey="txtCodeResource1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rqvalCode" runat="server" ControlToValidate="txtCode" meta:resourcekey="rqvalCodeResource1"
                    ErrorMessage="编号不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
            </td>
        </tr>--%>
        <tr>
         <td align="right">
                <label for="District">
                    <b style="color: Red">*</b></label><asp:Label ID="lblDistrict" runat="server" Text="区域(简体)：" meta:resourcekey="lblDistrictResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDistrict" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtDistrictResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalDistrict" runat="server" ControlToValidate="txtDistrict" meta:resourcekey="rqvalDistrictResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td> 
            
              <td align="right">
                <label for="District">
                    <b style="color: Red">*</b></label><asp:Label ID="lblHKDistrict" runat="server" Text="区域(繁体)：" meta:resourcekey="lblHKDistrictResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtHKDistrict" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtHKDistrictResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalHKDistrict" runat="server" ControlToValidate="txtHKDistrict" meta:resourcekey="rqvalHKDistrictResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td>          
        
        </tr>
          <tr>
          
            <td align="right">
                <label for="District">
                    <b style="color: Red">*</b></label><asp:Label ID="lblENDistrict" runat="server" Text="区域(英文)：" meta:resourcekey="lblENDistrictResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtENDistrict" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtENDistrictResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalENDistrictResource1" runat="server" ControlToValidate="txtENDistrict" meta:resourcekey="rqvalENDistrictResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td> 
            <td align="right">
                <label for="name">
                    <b style="color: Red">*</b></label><asp:Label ID="lblName" runat="server" Text="地点(简体)：" meta:resourcekey="lblNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtName" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtNameResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalName" runat="server" ControlToValidate="txtName" meta:resourcekey="rqvalNameResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td>                     
        
        </tr>
        <tr>
         <td align="right">
                <label for="name">
                    <b style="color: Red">*</b></label><asp:Label ID="lblHKName" runat="server" Text="地点(繁体)：" meta:resourcekey="lblHKNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtHKName" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtHKNameResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalHKName" runat="server" ControlToValidate="txtHKName" meta:resourcekey="rqvalHKNameResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td>
            
             <td align="right">
                <label for="name">
                    <b style="color: Red">*</b></label><asp:Label ID="lblENName" runat="server" Text="地点(英文)：" meta:resourcekey="lblENNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtENName" runat="server" Width="172px" ValidationGroup="place" 
                    meta:resourcekey="txtENNameResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalENName" runat="server" ControlToValidate="txtENName" meta:resourcekey="rqvalENNameResource1"
                        ErrorMessage="地点不能为空" ValidationGroup="place"></asp:RequiredFieldValidator>
              
            </td>
        </tr>          
        <tr>
            <td align="right">
                 <asp:Label ID="lblStatus" runat="server" Text="状态：" meta:resourcekey="lblStatusResource1"></asp:Label>
            </td>
            <td>
                 <asp:RadioButton ID="radYes" runat="server" Checked="True" Text="有效" 
                     GroupName="Status" meta:resourcekey="radYesResource1" /><asp:RadioButton
                        ID="radNo" runat="server" Text="无效" GroupName="Status" 
                     meta:resourcekey="radNoResource1" />
            </td>
             <td align="right">
                <asp:Label ID="lblRemark" runat="server" Text="备注：" meta:resourcekey="lblRemarkResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtRemark" runat="server" Width="90%" 
                    meta:resourcekey="txtRemarkResource1"></asp:TextBox>
            </td>
        </tr>
        
    </table>
    <table class="add_table" cellspacing="1" cellpadding="3">
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" 
                    CssClass="btn" ValidationGroup="place" meta:resourcekey="btnSaveResource1" />
               &nbsp; <asp:Button ID="btnReset" runat="server" Text="返回" CssClass="btn" 
                    OnClick="btnReset_Click" meta:resourcekey="btnResetResource1" />

            </td>
        </tr>
    </table>      
</asp:Content>

